package com.base.commonlib.http;


import com.base.commonlib.bean.LlParkResult;

import java.util.Map;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Multipart;
import retrofit2.http.PATCH;
import retrofit2.http.POST;
import retrofit2.http.PUT;
import retrofit2.http.PartMap;

/**
 * @author weikailiang
 * @function Created on 2017/7/26.
 */

public interface ApiService {

    @Multipart
    @PUT("api-ll/illegal")
    Call<BaseResponse<LlParkResult>> upllPark(@PartMap() Map<String, RequestBody> picList);
    @Multipart
    @POST("api-ll/illegal/llUpdate")
    Call<BaseResponse<LlParkResult>> updataPark(@PartMap() Map<String, RequestBody> picList);
    @PATCH("api-ll/illegal/report")
    Call<BaseResponse<String>> ReportLlPark(@Body RequestBody body);
}